<div id="play">

<!-- begin player -->
    <div class="player">
	
        <div class="top_player">
        <h1 class="title"><?=$song_TITLE;?></h1>
		 <a href="http://mucaithe.com" target="_blank" ><img alt="Liên hệ quảng cáo" width="470px" height="85px" style="border: 0px" src="http://nm4.upanh.com/b3.s28.d1/93eb2f52fd81e32b63eb5ea53663a27a_44791584.1333045947557181703574574.gif" /></a><br /><br />
        <?php	
				if ($row['m_type'] == 1) {
					include("templates/".$_SESSION['current_tpl']."/players/mp3.html");
				}
				elseif ($row['m_type'] == 2) {
					include("templates/".$_SESSION['current_tpl']."/players/swf.html");
				}
				elseif ($row['m_type'] == 3) {
					include("templates/".$_SESSION['current_tpl']."/players/wmv.html");
				}
								
         ?>
         
                <ul class="buttons">
                <li class="add"><a href="#" onclick='return addToPlaylist(<?=$song_ID;?>);' title="thêm vào giỏ nhạc"><span><span>Add to playlist</span></span></a></li>
                <li class="download"><a href="<?=$song_DOWNLOAD;?>" target="_blank" title="click chuột trái để mở trang download"><span><span>Download</span></span></a></li>
                <li class="comment"><a href="#" title="Ấn vào đây để xem bình luận bài hát bên dưới"><span><span>Bình luận(<?=$song_COMMENTS;?>)</span></span></a></li>
                <li class="warning"><a href="<?=$mainURL;?>/brokenlink.php?id=<?=$song_ID;?>" onclick="NewWindow(this.href,'name','400','70','yes');return false"><span><span>Báo lỗi</span></span></a></li>
            </ul>
            <div class="clear"></div>
        
		


        </div>
				

				<center><font color="#89014b">Ấn +1 để tăng chất lượng Nghe Nhạc: </font><g:plusone size="small" href="<?=$song_URL?>" count="true"></g:plusone></center><br />
				<center><font color="#228a00">Đề xuất lên Facebook: </font><div class="fb-like" data-href="<?=$song_URL?>" data-send="false" data-layout="button_count" data-width="20" data-show-faces="false" data-colorscheme="dark"></div></center><br /> 
		         <center><font color="#28576b">Để có thể đăng bài hát của bạn lên matxac.com các bạn cần phải đăng nhập.</font></center><br />
				
        
    </div>
<br /> 
    <div class="clear"></div>
	<div class="list">
		<a href="http://muahot.com" target="_blank" ><img alt="Liên hệ quảng cáo" width="470px" height="85px" style="border: 0px" src="http://d.f8.photo.zdn.vn/upload/original/2012/05/20/1/37/1337452642144271745_574_574.jpg" /></a><br /><br /> 


	<img alt="Liên hệ quảng cáo" style="border: 0px" src="http://matxac.com/ads/player.jpg" />
	</div>
    <div class="clear"></div>	
     <div class="list">
         
        
    
     <div class="clear"></div> 
     <!-- noi dung -->
      
     <!-- noi dung -->
    

    
</div>
     <div class="clear"></div>
  

  


                     
<div class="info_song widget">
		<h2 class="title">Thông tin bài hát</h2>
         <div class="left_info_song">
            <p><img src="<?=$avatar;?>" alt="MatXac.Com"/></p>
            <p><?=$user_NAME;?></p>
         </div>
         <div class="right_info_song">
            
             
                 <p>
                 	<span>Ca khúc:</span>
                 	<span class="right"><?=$song_TITLE;?></span>
                 </p>
            
             
                 
                <p>
                	<span>Thể loại:</span>
                    <span class="right"><a href="<?=$cat_URL;?>"><?=$cat_NAME;?></a></span>
                </p>
                <p>
                	<span>Album:</span>
                    <span class="right"><a href="<?=$album_URL;?>"><?=$album_NAME;?></a></span>
                </p>
                <p><span>Người Gửi:</span>
                <span class="right"><a href="<?=$user_URL;?>"><?=$user_NAME;?></a></span>
                </p>
             
                <p><span>Số lần nghe:</span>
                <span class="right"><?=$song_VIEWED;?></span>
                </p>

             
                <p><span>Số lần tải:</span>
                	<span class="right"><?=$song_DOWNLOADED;?></span>
                    </p>
             
                 <p><span>Bình chọn:</span>
                 <span class="right">
                 
   				<span onmouseover="show_rating_process()" onmouseout="hide_rating_process()" id="rating_field">


                <span style="display: block;" id="rate_s"><?=$rates;?></span>

               <span id="rating_process" style="display: none;">

					<a href="#Rate" onclick="return Rating(<?=$song_ID;?>,1);" onmouseover="show_star(1,'Dở');"> <img id=star1 src="<?=$tpl_link;?>/images/star_n.gif" border="0px"></a>

					<a href="#Rate" onclick="return Rating(<?=$song_ID;?>,2);" onmouseover="show_star(2,'Bình Thường');"> <img id=star2 src="<?=$tpl_link;?>/images/star_n.gif" border="0px"></a>

					<a href="#Rate" onclick="return Rating(<?=$song_ID;?>,3);" onmouseover="show_star(3,'Cũng Được');"> <img id=star3 src="<?=$tpl_link;?>/images/star_n.gif" border="0px"></a>

					<a href="#Rate" onclick="return Rating(<?=$song_ID;?>,4);" onmouseover="show_star(4,'Hay');"> <img id=star4 src="<?=$tpl_link;?>/images/star_n.gif" border="0px"></a>

					<a href="#Rate" onclick="return Rating(<?=$song_ID;?>,5);" onmouseover="show_star(5,'Rất hay');"> <img id=star5 src="<?=$tpl_link;?>/images/star_n.gif" border="0px"></a>

				</span>

			</span>    </span>          
  
                 </p>
            
         </div>	
         <div class="clear"></div>
<!--<script type="text/javascript">
$(document).ready(function() {
$('#hide_this').hide();
$('#track_show').click(function() {
$('#hide_this').toggle('slow');
	return false;
	});		
});
</script>-->        
         <div class="tracklist">
                 	<h2 class="title" id="track_show">track list:</h2>
                 	<div class="content" id="hide_this"><?=$song_LYRIC;?></div>
                 </div>
     </div>                 

<div class="widget"> 
<!--<div class="title">
<h2>Bình luận</h2>
 <p class="right"><a href="http://matxac.com/huongdan/comment/commentmatxac.html" target="_blank" title="Ấn vào đây để biết cách sử dụng comment"><span>Hướng dẫn cách bình luận</span></a></p> 
</div>   
-->
<h2 class="title">Bình luận</h2>
<script type="text/javascript">
	$(document).ready(function(){
		
	//Display Loading Image
	function Display_Load()
	{
	    $("#loading1").fadeIn(900,0);
		$("#loading1").html("<img src='<?=$mainURL;?>/loading.gif' />");
	}
	//Hide Loading Image
	function Hide_Load()
	{
		$("#loading1").fadeOut('slow');
	};
	

   //Default Starting Page Results
   
	$("#pagination li:first").css({'color' : '#FF0084'}).css({'border' : 'none'});
	
	Display_Load();
	
	$("#content1").load(url+"/comment.php?showcomment=1&media_id=<?=$song_ID;?>&pg=1", Hide_Load());



	//Pagination Click
	$("#pagination li").click(function(){
			
		Display_Load();
		
		//CSS Styles
		$("#pagination li")
		.css({'border' : 'solid #202020 1px'})
		.css({'color' : '#fff'});
		
		$(this)
		.css({'color' : '#FF0084'})
		.css({'border' : '#89014b'});

		//Loading Data
		var pageNum = this.id;
		
		$("#content1").load(url+"/comment.php?showcomment=1&media_id=<?=$song_ID;?>&pg=" + pageNum, Hide_Load());
	});
	
	
});
</script>
<center><div id="loading1" ></div></center>
	<div id="content1" ></div>

			<ul id="pagination">
				<?php
				//Show page links
				for($i=1; $i<=$song_COMMENTS_PAGE; $i++)
				{
					echo '<li id="'.$i.'">'.$i.'</li>';
				}
				?>
	</ul>	

	 
 </div>                     
                
<div class="clear"></div>

<div class="widget">
	<h2 class="title">Cùng thể loại <?=$cat_NAME;?></h2>
    <ul class="list_songs">
    	<?=box_randompost($song_ID);?>	
    </ul>
</div>
 					
    <!-- end player -->
<div class="clear"></div>

 
</div> 